package consumer;

import framework.proxy.ProxyFactory;
import provider.api.HellowService;

public class Consumer {
    public static void main(String[] args) {
        HellowService hellowService = ProxyFactory.getProxy(HellowService.class);
        //这里就跟Dubbo一样，直接调用接口即可
        String result = hellowService.hello("测试传输内容");
        System.out.println("consumer ------>" + result);
    }
}
